package com.cbf4life.cor.right;

import com.cbf4life.cor.IWomen;

/**
 * @author cbf4Life cbf4life@126.com I'm glad to share my knowledge with you all. 父亲
 */
public class Father extends Handler {
	// 父亲只处理女儿的请求
	public Father() {
		super(1);
	}

	// 父亲的答复
	@Override
	public void response(IWomen women) {
		System.out.println("--------女儿向父亲请示-------");
		System.out.println(women.getRequest());
		System.out.println("父亲的答复是:同意\n");
	}

}
